/*
	File:		Layer.h
	Author:		A. O'Steen
	Course:		SGP1
	Purpose:	The layer class will be responsible for tile storage and culling.
*/

#pragma once

#include <list>
#include <string>
using namespace std;


class Tile;
class Layer
{
public:
	Layer(void);
	~Layer(void);

	void AddTile( Tile *);

	void SetLayerWidth(int w){LayerWidth = w;}
	void SetLayerHeight(int h){LayerHeight = h;}
	void SetFilePath(const char * p);

private:
	string  Filepath;
	int		m_nSrcImageID;
	int		TileSize;

	int		LayerWidth;
	int		LayerHeight;

	typedef std::list<Tile *>	TileList;
	typedef TileList::iterator	TileListIter;
	TileList	m_lTiles;

	bool		m_bIterating;
};

